package com.zengqingfa.shardingjdbc.demo.service;

import com.zengqingfa.shardingjdbc.demo.entity.Dict;

/**
 * @fileName: BillService
 * @author: zengqf3
 * @date: 2021-1-28 10:45
 * @description:
 */
public interface DictService {


    /**
     * 新增
     * @param dict
     * @return
     */
    int create(Dict dict);

    /**
     * 根据主键查询
     * @param id
     * @return
     */
    Dict selectByPrimary(Long id);
}
